home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / fix_disk.zip / CLEARFAT.DOC < prev    next >
Text File  |  1987-03-04  |  4KB  |  89 lines

  1.  
  2.               CLEARFAT : Clear Disk File Allocation Table Program
  3.                            Version 1.00, 04-Mar-1987
  4.                                   SMG Software
  5.  
  6.                              (C) Copyright 1987 by
  7.                                Steven Georgiades
  8.                               All Rights Reserved
  9.  
  10.  
  11.  
  12.          This  program enables the user to clear the file allocation  table 
  13.     of a specified disk.  WARNING!  This may cause loss of data!  Never run 
  14.     this program on a good disk.   If you have crashed a disk,  and  CHKDSK 
  15.     reports  a  large  number of lost clusters and/or a  "Probable  non-DOS 
  16.     disk"  message,  then your FAT is probably corrupted.   Most disks have 
  17.     two  copies  of the FAT,  so you should try using the  FATSWAP  program 
  18.     before you resort to using CLEARFAT.  FATCOPY will copy the second copy 
  19.     of the FAT over the first.  If after this, CHKDSK still reports similar 
  20.     errors, then both copies of the FAT are probably corrupted.  If this is 
  21.     the  case,  your best hope of recovering your data is to clear the  FAT 
  22.     and start from a clean slate.  This procedure is as follows: 
  23.  
  24.          1).  Run CLEANFAT on the crashed disk to zero out the FAT.
  25.  
  26.          2).  Delete all files on the crashed disk (DEL *.*).
  27.  
  28.          3).  Run an un-erase utility (such as Peter Norton's QuickUnerase).
  29.  
  30.     This is necessary because un-erase files will not work properly if  the 
  31.     FAT  of the crashed disk is corrupt.   Note that if the boot sector  of 
  32.     the  disk  is also corrupted,  then CLEANFAT will probably  not  behave 
  33.     properly.    If this is the case,  use the program BOOTCOPY to copy the 
  34.     boot  record  from a known good disk of the same format  before  trying 
  35.     FATCOPY or CLEARFAT.  
  36.  
  37.  
  38.  
  39.     Command Format: 
  40.  
  41.          CLEARFAT [d:]
  42.  
  43.               d:   Optional drive letter.  If this is omitted, the default 
  44.                    drive is used.  
  45.  
  46.  
  47.     Examples:
  48.  
  49.          CLEARFAT A:    (Will clear the FAT of the diskette in drive A:)
  50.  
  51.          CLEARFAT C:    (Will give an error message if C: is a hard disk)
  52.  
  53.          CLEARFAT       (Will clear the FAT of the current disk, unless it 
  54.                          is a hard disk)
  55.  
  56.  
  57.     -----------------------------------------------------------------------
  58.  
  59.          This software is hereby released into the public domain,  and  may 
  60.     therefore  be  freely  copied  and  distributed  within  the  following 
  61.     restrictions: 
  62.  
  63.          1).  It is distributed in its original, unmodified form, including 
  64.               source code and documentation.
  65.  
  66.          2).  No fee is charged for use, copying or distribution.
  67.  
  68.          3).  The program may not be included with other goods or  services 
  69.               supplied  for  a  fee,  unless written permission to do so is 
  70.               obtained in advance from the author.  
  71.  
  72.     This program is provided AS  IS  without  any  warranty,  expressed  or 
  73.     implied,  including  but  not  limited  to  fitfulness for a particular 
  74.     purpose.  
  75.  
  76.          If  you have any questions or comments about this or any other SMG 
  77.     program, write to me at the following address: 
  78.  
  79.                 Steven M. Georgiades
  80.                 SMG Software
  81.                 701-H South Hayward Street
  82.                 Anaheim, CA  92804
  83.  
  84.  
  85.     If you are using this program and find it of value,  your  contribution 
  86.     in  any  amount  ($5.00  suggested)  will be greatly appreciated.  Make 
  87.     checks payable to Steven M. Georgiades.  
  88.                 Thank you.
  89.